<!DOCTYPE html>
<html lang="en-gb" dir="ltr">

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Grid - UIkit tests</title>
        <script src="js/test.js"></script>
        <style>

            .uk-panel {
                padding: 10px;
                text-align: center;
            }

            :nth-child(10n-9) > .uk-panel { background: rgba(0,0,0,0.1); }
            :nth-child(10n-8) > .uk-panel { background: rgba(0,0,0,0.15); }
            :nth-child(10n-7) > .uk-panel { background: rgba(0,0,0,0.2); }
            :nth-child(10n-6) > .uk-panel { background: rgba(0,0,0,0.25); }
            :nth-child(10n-5) > .uk-panel { background: rgba(0,0,0,0.3); }
            :nth-child(10n-4) > .uk-panel { background: rgba(0,0,0,0.35); }
            :nth-child(10n-3) > .uk-panel { background: rgba(0,0,0,0.40); }
            :nth-child(10n-2) > .uk-panel { background: rgba(0,0,0,0.45); }
            :nth-child(10n-1) > .uk-panel { background: rgba(0,0,0,0.50); }
            :nth-child(10n) > .uk-panel { background: rgba(0,0,0,0.55); }

        </style>
    </head>

    <body>

        <div class="uk-container">

            <h1>Grid</h1>

            <div class="uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin-medium">1-2-M</div>
                </div>
            </div>

            <div uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h3>Divider</h3>

            <div class="uk-grid-divider uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-divider uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-divider uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-divider uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin-medium">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-divider" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-divider" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h2>Small</h2>

            <div class="uk-grid-small uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-small uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-small uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-small uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-small uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-small uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-small" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-small" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h3>Divider</h3>

            <div class="uk-grid-small uk-grid-divider uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-small uk-grid-divider uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-small uk-grid-divider" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-small uk-grid-divider" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h2>Medium</h2>

            <div class="uk-grid-medium uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-medium uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-medium uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-medium uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-medium uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-medium uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin-medium">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-medium" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-medium" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h3>Divider</h3>

            <div class="uk-grid-medium uk-grid-divider uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-medium uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-medium uk-grid-divider uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-medium uk-grid-divider uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-medium uk-grid-divider uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-medium uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin-medium">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-medium uk-grid-divider" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-medium uk-grid-divider" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h2>Large</h2>

            <div class="uk-grid-large uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-large uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-large uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-large uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-large uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-large uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin-large">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-large" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-large" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h3>Divider</h3>

            <div class="uk-grid-large uk-grid-divider uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-large uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-large uk-grid-divider uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-large uk-grid-divider uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-large uk-grid-divider uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-large uk-grid-divider uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel uk-margin-large">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-large uk-grid-divider" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-large uk-grid-divider" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h2>Collapse</h2>

            <div class="uk-grid-collapse uk-child-width-1-2" uk-grid>
                <div><div class="uk-panel">1-2</div></div>
                <div><div class="uk-panel">1-2</div></div>
            </div>

            <div class="uk-grid-collapse uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-grid-collapse uk-child-width-1-2@l" uk-grid>
                        <div><div class="uk-panel">1-2-L</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-collapse uk-child-width-1-4@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-4-M<br>…<br>…</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-2@m">
                    <div class="uk-grid-collapse uk-child-width-1-2@l uk-grid-match" uk-grid>
                        <div><div class="uk-panel">1-2-L<br>…</div></div>
                        <div><div class="uk-panel">1-2-L</div></div>
                    </div>
                </div>
            </div>

            <div class="uk-grid-collapse uk-child-width-1-2@m uk-grid-match" uk-grid>
                <div><div class="uk-panel">1-2-M</div></div>
                <div>
                    <div class="uk-panel">1-2-M</div>
                    <div class="uk-panel">1-2-M</div>
                </div>
            </div>

            <div class="uk-grid-collapse" uk-grid>
                <div class="uk-width-1-2@m"><div class="uk-panel">1-2-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-4@m"><div class="uk-panel">1-4-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-1-5@m"><div class="uk-panel">1-5-M</div></div>
                <div class="uk-width-3-5@m"><div class="uk-panel">3-5-M</div></div>
            </div>

            <div class="uk-grid-collapse" uk-grid>
                <div class="uk-width-auto@m"><div class="uk-panel">Auto-M</div></div>
                <div class="uk-width-1-3@m"><div class="uk-panel">1-3-M</div></div>
                <div class="uk-width-expand@m"><div class="uk-panel">Expand-M</div></div>
            </div>

            <h2>Column and Row</h2>

            <h3>Small / Large</h3>

            <div class="uk-grid-column-small uk-grid-row-large uk-child-width-1-4@m" uk-grid>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
            </div>

            <h3>Medium / Small</h3>

            <div class="uk-grid-divider uk-grid-column-medium uk-grid-row-small uk-child-width-1-4@m" uk-grid>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
                <div><div class="uk-panel">1-4-M</div></div>
            </div>

            <h2>Divider</h2>

            <h3>Order</h3>

            <div class="uk-grid-divider uk-child-width-1-2@m" uk-grid>
                <div>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-4@m" uk-grid>
                        <div><div class="uk-panel">First</div></div>
                        <div class="uk-flex-last"><div class="uk-panel">Second</div></div>
                        <div><div class="uk-panel">Third</div></div>
                        <div class="uk-flex-first"><div class="uk-panel">Last</div></div>
                    </div>

                </div>
                <div>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-4@m" uk-grid>
                        <div class="uk-flex-last"><div class="uk-panel">First</div></div>
                        <div><div class="uk-panel">Second</div></div>
                        <div><div class="uk-panel">Third</div></div>
                        <div class="uk-flex-first"><div class="uk-panel">Last</div></div>
                    </div>

                </div>
            </div>

            <h3>Wrap + Order</h3>

            <div class="uk-grid-divider uk-child-width-1-4@m" uk-grid>
                <div>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@m uk-flex-middle" uk-grid>
                        <div><div class="uk-panel">First</div></div>
                        <div><div class="uk-panel">Last<br>…<br>…</div></div>
                        <div><div class="uk-panel">Wrap</div></div>
                    </div>

                </div>
                <div>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@m uk-flex-middle" uk-grid>
                        <div><div class="uk-panel">First</div></div>
                        <div class="uk-flex-first"><div class="uk-panel">Last<br>…<br>…</div></div>
                        <div><div class="uk-panel">Wrap</div></div>
                    </div>

                </div>
                <div>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@m uk-flex-middle" uk-grid>
                        <div><div class="uk-panel">First<br>…<br>…</div></div>
                        <div class="uk-flex-first"><div class="uk-panel">Last</div></div>
                        <div><div class="uk-panel">Wrap</div></div>
                    </div>

                </div>
                <div>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-2@m uk-flex-middle" uk-grid>
                        <div class="uk-flex-last"><div class="uk-panel">First</div></div>
                        <div><div class="uk-panel">Last<br>…<br>…</div></div>
                        <div><div class="uk-panel">Wrap</div></div>
                    </div>

                </div>
            </div>

            <div class="uk-grid-divider uk-child-width-1-2@m" uk-grid>
                <div>

                    <h3>Stack</h3>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-1" uk-grid>
                        <div><div class="uk-panel">First</div></div>
                        <div><div class="uk-panel">Second</div></div>
                        <div class="uk-flex-first"><div class="uk-panel">Last</div></div>
                    </div>

                </div>
                <div>

                    <h3>Align</h3>

                    <div class="uk-grid-small uk-grid-divider uk-child-width-1-4@s uk-flex-center" uk-grid>
                        <div class="uk-flex-last"><div class="uk-panel">First</div></div>
                        <div><div class="uk-panel">Second</div></div>
                        <div><div class="uk-panel">Third</div></div>
                        <div><div class="uk-panel">Forth</div></div>
                        <div class="uk-flex-first"><div class="uk-panel">Fifth</div></div>
                        <div><div class="uk-panel">Last</div></div>
                    </div>

                </div>
            </div>

            <h2>JavaScript Options</h2>

            <div class="uk-overflow-auto">
                <table class="uk-table uk-table-striped">
                    <thead>
                        <tr>
                            <th>Option</th>
                            <th>Value</th>
                            <th>Default</th>
                            <th>Description</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td><code>margin</code></td>
                            <td>String</td>
                            <td>uk-grid-margin</td>
                            <td>This class is added to items that break into the next row, typically to create margin to the previous row.</td>
                        </tr>
                        <tr>
                            <td><code>first-column</code></td>
                            <td>String</td>
                            <td>uk-first-column</td>
                            <td>This class is added to the first element in each row.</td>
                        </tr>
                        <tr>
                            <td><code>masonry</code></td>
                            <td>Boolean, String</td>
                            <td>false</td>
                            <td>Enables masonry layout for this grid (pack, next).</td>
                        </tr>
                        <tr>
                            <td><code>parallax</code></td>
                            <td>Number</td>
                            <td>0</td>
                            <td>Parallax translation value. The value can be in vh, % and px. Falsy disables the parallax effect (default).</td>
                        </tr>
                        <tr>
                            <td><code>parallax-start</code></td>
                            <td>Length</td>
                            <td>0</td>
                            <td>Start offset. The value can be in vh, % and px. It supports basic mathematics operands + and -. The default value of `0` means that the grid's top border and viewport's bottom border intersect.</td>
                        </tr>
                        <tr>
                            <td><code>parallax-end</code></td>
                            <td>Length</td>
                            <td>0</td>
                            <td>End offset. The value can be in vh, % and px. It supports basic mathematics operands + and -. The default value of `0` means that the grid's bottom border and the viewport's top border intersect.</td>
                        </tr>
                        <tr>
                            <td><code>parallax-justify</code></td>
                            <td>Boolean</td>
                            <td>false</td>
                            <td>With parallax enabled, all columns will reach the bottom at the same time.</td>
                        </tr>
                    </tbody>
                </table>
            </div>

        </div>

    </body>
</html>
